package sp01.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author He
 * @date 2021/8/30 11:46
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Order {

    private String id;
    private User user; //订单属于哪个用户
    private List<Item> items;  //订单中有哪些商品
}
